package com.framework.core.exception;

/**
 * @author shenmengchao
 * @version 1.0.0
 * @date 2017/7/23
 * @description
 */

public class BaseException extends RuntimeException {

    private String errCode;
    private String errMsg;

    public BaseException(String errCode, String errMsg) {
        this.errCode = errCode;
        this.errMsg = errMsg;
    }

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }
}
